package com.lepai.component;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @author weihaolong
 * @date 2019-04-26 09:33
 * @description 通过手动进行装配bean实例
 */
public class ManualAssemblyBean {

    @PostConstruct
    public void init(){
        System.out.println("手动的进行装配Bean实例:manualAssemblyBean");
    }

    @PreDestroy
    public void destruction(){
        System.out.println("manualAssemblyBean进行销毁方法");
    }
}
